package com.yunhe.marketing.service;

import com.yunhe.common.model.mybatis.PageResult;
import com.yunhe.marketing.domain.CompanyHeat;

import java.util.List;

/**
 * @ClassName: ICompanyHeatService
 * @Description:
 * @author: GongDaCheng
 * @Date: 14:04 2021/3/15
 */
public interface ICompanyHeatService {

    /**
     * @Description 查询单个企业热度值
     * @Param Long itemId
     * @Return CompanyHeat
     * @Date 2021/3/15 14:06
     */
    CompanyHeat selectHeatCompany(Long itemId);

    /**
     * @Description 查询企业热度列表
     * @Param int page, int size
     * @Return List<CompanyHeat>
     * @Date 2021/3/15 14:07
     */
    PageResult selectHeatCompanyList(int page, int size);

    /**
     * @Description 查询所有企业热度列表
     * @Return List<CompanyHeat>
     */
    List<CompanyHeat> selectAllHeatCompanyList();

    /**
     * 新增或更新
     * @param companyHeat 企业热度
     */
    void saveOrUpdate(CompanyHeat companyHeat);
}
